/**
 * 功能：ggb数学函数
 */
export const loadMathFunc = {
  name: 'ggb_数学函数',

  operationType: 0,

  params: {
    data: {
      base64: '',
      options: {
        expressions: {
          list: [
            {
              type: '',
              id: '',
              color: '',
              latex: ''
            }
          ]
        },
        graph: {
          viewport: {
            xmin: 0,
            ymin: 0,
            xmax: 0,
            ymax: 0
          }
        },
        randomSeed: '',
        version: 0
      },
      type: ''
    }
  },

  data: {}
}

/**
 * 功能：ggb保存数学函数
 */
export const saveMathFunc = {
  name: 'ggb_保存数学函数',

  operationType: 1,

  params: {
    data: {
      base64: '',
      options: {
        expressions: {
          list: [
            {
              type: '',
              id: '',
              color: '',
              latex: ''
            }
          ]
        },
        graph: {
          viewport: {
            xmin: 0,
            ymin: 0,
            xmax: 0,
            ymax: 0
          }
        },
        randomSeed: '',
        version: 0
      },
      type: ''
    }
  },

  data: {}
}

/**
 * 功能：ggb操作(关闭)
 */
export const close = {
  name: 'ggb_关闭',

  operationType: 2,

  params: {},

  data: {}
}
